import request from '@/utils/request'

// 查询办证申请表审批二级列表
export function listFuzerenCertTwo(query) {
  return request({
    url: '/certificate/fuzerenCertTwo/list',
    method: 'get',
    params: query
  })
}

// 查询办证申请表审批二级详细
export function getFuzerenCertTwo(id) {
  return request({
    url: '/certificate/fuzerenCertTwo/' + id,
    method: 'get'
  })
}

// 新增办证申请表审批二级
export function addFuzerenCertTwo(data) {
  return request({
    url: '/certificate/fuzerenCertTwo',
    method: 'post',
    data: data
  })
}

// 修改办证申请表审批二级
export function updateFuzerenCertTwo(data) {
  return request({
    url: '/certificate/fuzerenCertTwo',
    method: 'put',
    data: data
  })
}

// 删除办证申请表审批二级
export function delFuzerenCertTwo(id) {
  return request({
    url: '/certificate/fuzerenCertTwo/' + id,
    method: 'delete'
  })
}


// 安全管理人员负责人审批二
export function fuzerenTwoApprovalSubmit(CertCertificate) {
  return request({
    url: '/certificate/fuzerenCertTwo/fuzerenTwoApprovalSubmit',
    method: 'post',
    data: CertCertificate
  })
}
